package com.example.job.model;

import com.alibaba.fastjson.annotation.JSONField;
import com.example.db.annotations.ID;
import com.example.db.annotations.Table;
import com.example.db.annotations.TableField;

import java.util.Date;

/**
 * @Classname JobModel
 * @Description TODO
 * @Date 2022/8/2 21:21
 * @Created by XiongXiong
 * @Author: X.I.O
 */
@Table("sys_quartz")
public class JobModel {

    @ID
    private Integer id;

    @TableField("name")
    private String name;

    @TableField("jobName")
    private String jobName;

    @TableField("jobGroup")
    private String jobGroup;

    @TableField("jobTigger")
    private String jobTigger;

    @TableField("jobTiggerGroup")
    private String jobTiggerGroup;

    @TableField("clazz")
    private String clazz;

    @TableField("secords")
    private Integer secords;

    @TableField("state")
    private Integer state;

    @TableField("descnote")
    private String descnote;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createdate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public String getJobGroup() {
        return jobGroup;
    }

    public void setJobGroup(String jobGroup) {
        this.jobGroup = jobGroup;
    }

    public String getJobTigger() {
        return jobTigger;
    }

    public void setJobTigger(String jobTigger) {
        this.jobTigger = jobTigger;
    }

    public String getJobTiggerGroup() {
        return jobTiggerGroup;
    }

    public void setJobTiggerGroup(String jobTiggerGroup) {
        this.jobTiggerGroup = jobTiggerGroup;
    }

    public String getClazz() {
        return clazz;
    }

    public void setClazz(String clazz) {
        this.clazz = clazz;
    }

    public Integer getSecords() {
        return secords;
    }

    public void setSecords(Integer secords) {
        this.secords = secords;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getDescnote() {
        return descnote;
    }

    public void setDescnote(String descnote) {
        this.descnote = descnote;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
